package cn.com.api.service.impl;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.xml.resolver.apps.resolver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_user_admin;

import cn.com.api.mapper.ApiT_user_adminMapper;

import cn.com.api.service.ApiT_user_adminService;
import cn.com.api.service.impl.base.T_user_adminServiceImplBase;

/**
 * 
 **/
@Service
public class ApiT_user_adminServiceImpl extends T_user_adminServiceImplBase implements ApiT_user_adminService{
	@Autowired
	private ApiT_user_adminMapper apiT_user_adminMapper;

	@Override
	public List<ApiT_user_admin> getUserAdminByCityAndRole(Integer cityId, Integer roleId) {
		ApiT_user_admin conditions = new ApiT_user_admin();
		conditions.setCity_id(cityId.toString());
		conditions.setRole_id(roleId);
		return apiT_user_adminMapper.getUserAdmins(conditions);
	}

	@Override
	public ApiT_user_admin getStationRoleAdmin(int ciytId) {
	    return apiT_user_adminMapper.getStationRoleAdmin(ciytId);
	}
    
	
 
}


